import request from '@/utils/request'

// 根据token获取提交详情
export function getSubmissionByToken(token) {
    return request({
        url: '/dashboard/submissions/public/' + token,
        method: 'get'
    })
}

// 客户提交表单
export function submitByToken(data) {
    return request({
        url: '/dashboard/submissions/public',
        method: 'post',
        data: data
    })
}

// 查询所有技术类型列表-公开
export function listAllPublicSkills() {
    return request({
        url: '/dashboard/skills/public/all',
        method: 'get'
    })
} 